package com.wpen.unit.web.dto.job;

import java.io.Serializable;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.wpen.unit.commun.BaseRequest;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 执行器注册-下线请求报文.
 * 
 * @author Wang Peng
 * @date 2022-12-08
 */
@Schema(description = "执行器注册-下线(请求)")
@Data
@EqualsAndHashCode(callSuper=false)
public class AgentRegistryOfflineRequest extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;

    @Schema(description =  "主键", required = true)
    @NotNull
    private Long id;
    @Schema(description =  "强制下线")
    @Size(min = 1, max = 1)
    private String forceOffline;

}